/*
 * Copyright (c) 2006, 2021, webrx.cn All rights reserved.
 *
 */
package cn.webrx;

import java.time.ZoneId;
import java.time.ZoneOffset;

/**
 * <p>Project: javaseapp - T4
 * <p>Powered by webrx On 2021-08-30 16:03:26
 * <p>Created by IntelliJ IDEA
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 16
 */
public class T4 {
    public static void main(String[] args) {
        //Asia/Shanghai
        System.out.println(ZoneOffset.systemDefault());

        //美国纽约时间
        ZoneId zid = ZoneId.of("America/New_York");
        System.out.println(zid);
        System.out.println(zid.getRules());
    }
}
